package com.fs.generator;

import java.util.HashMap;
import java.util.Map;

import com.fs.generator.db.metadata.TableMetadata;
import com.fs.generator.parser.NamesHold;

import lombok.Data;

/**
 * 代码生成器上下文
 */
@Data
public class GenerateContext {

	private GenerateConfiguration configuration;
	private TableMetadata table;
	private String entityIdDeclare;
	private NamesHold Names;
	private Map<String, Object> data = new HashMap<String, Object>();

	public void appendData(String key, Object value) {
		this.data.put(key, value);
	}

}
